Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

Added jstach template variant, small Int cache optimization#10784

Merged
msmith-techempower merged 1 commit into
TechEmpower:masterfrom
inemtsev:fortune-optimize
Feb 18, 2026
Merged

Added jstach template variant, small Int cache optimization#10784
msmith-techempower merged 1 commit into
TechEmpower:masterfrom
inemtsev:fortune-optimize

Conversation

@inemtsev
Copy link
Copy Markdown
Contributor

@inemtsev inemtsev commented Feb 18, 2026

  • By doing some benchmarks on my machine, I found that kotlinx.html DSL while flexible, seems to have a strong performance cost. I added a ktor variant that uses JStach instead (same templating as Spring uses here).

  • Some database flags that other good performaners seem to be using added.

  • Also added Integer caching flag, which some top JVM performers here seem to use.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

The following frameworks were updated, pinging maintainers:
ktor: @ShreckYe

@joanhey
Copy link
Copy Markdown
Contributor

joanhey commented Feb 18, 2026

A bench is to find problems, It's NOT to be faster than others.

@inemtsev
Copy link
Copy Markdown
Contributor Author

A bench is to find problems, It's NOT to be faster than others.

Yes, I have found a problem in the kotlinx.html library.

The other tweaks are copied from other JVM frameworks here, so it is a more fair comparison

@msmith-techempower msmith-techempower merged commit fc414b8 into TechEmpower:master Feb 18, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants